3.147 \(\int \cos ^2(a+b x) \csc ^2(2 a+2 b x) \, dx\)

Optimal. Leaf size=13 \[ -\frac {\cot (a+b x)}{4 b} \]

[Out]

-1/4*cot(b*x+a)/b

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4287, 3767, 8} \[ -\frac {\cot (a+b x)}{4 b} \]

Antiderivative was successfully verified.

[In]

Int[Cos[a + b*x]^2*Csc[2*a + 2*b*x]^2,x]

[Out]

-Cot[a + b*x]/(4*b)

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 3767

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rule 4287

Int[(cos[(a_.) + (b_.)*(x_)]*(e_.))^(m_.)*sin[(c_.) + (d_.)*(x_)]^(p_.), x_Symbol] :> Dist[2^p/e^p, Int[(e*Cos
[a + b*x])^(m + p)*Sin[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, e, m}, x] && EqQ[b*c - a*d, 0] && EqQ[d/b, 2]
&& IntegerQ[p]

Rubi steps

\begin {align*} \int \cos ^2(a+b x) \csc ^2(2 a+2 b x) \, dx &=\frac {1}{4} \int \csc ^2(a+b x) \, dx\\ &=-\frac {\operatorname {Subst}(\int 1 \, dx,x,\cot (a+b x))}{4 b}\\ &=-\frac {\cot (a+b x)}{4 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 13, normalized size = 1.00 \[ -\frac {\cot (a+b x)}{4 b} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[a + b*x]^2*Csc[2*a + 2*b*x]^2,x]

[Out]

-1/4*Cot[a + b*x]/b

________________________________________________________________________________________

fricas [A]  time = 0.52, size = 19, normalized size = 1.46 \[ -\frac {\cos \left (b x + a\right )}{4 \, b \sin \left (b x + a\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2/sin(2*b*x+2*a)^2,x, algorithm="fricas")

[Out]

-1/4*cos(b*x + a)/(b*sin(b*x + a))

________________________________________________________________________________________

giac [A]  time = 0.23, size = 13, normalized size = 1.00 \[ -\frac {1}{4 \, b \tan \left (b x + a\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2/sin(2*b*x+2*a)^2,x, algorithm="giac")

[Out]

-1/4/(b*tan(b*x + a))

________________________________________________________________________________________

maple [A]  time = 1.13, size = 12, normalized size = 0.92 \[ -\frac {\cot \left (b x +a \right )}{4 b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(b*x+a)^2/sin(2*b*x+2*a)^2,x)

[Out]

-1/4*cot(b*x+a)/b

________________________________________________________________________________________

maxima [B]  time = 0.33, size = 53, normalized size = 4.08 \[ -\frac {\sin \left (2 \, b x + 2 \, a\right )}{2 \, {\left (b \cos \left (2 \, b x + 2 \, a\right )^{2} + b \sin \left (2 \, b x + 2 \, a\right )^{2} - 2 \, b \cos \left (2 \, b x + 2 \, a\right ) + b\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2/sin(2*b*x+2*a)^2,x, algorithm="maxima")

[Out]

-1/2*sin(2*b*x + 2*a)/(b*cos(2*b*x + 2*a)^2 + b*sin(2*b*x + 2*a)^2 - 2*b*cos(2*b*x + 2*a) + b)

________________________________________________________________________________________

mupad [B]  time = 0.14, size = 11, normalized size = 0.85 \[ -\frac {\mathrm {cot}\left (a+b\,x\right )}{4\,b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(a + b*x)^2/sin(2*a + 2*b*x)^2,x)

[Out]

-cot(a + b*x)/(4*b)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)**2/sin(2*b*x+2*a)**2,x)

[Out]

Timed out

________________________________________________________________________________________